package cn.lg.soar.cms.biz.member.controller;

import cn.lg.soar.cms.biz.config.CtrlPathConst;
import cn.lg.soar.cms.biz.modules.article.entity.Article;
import cn.lg.soar.common.model.HttpResult;
import cn.lg.soar.core.annotations.IdempotentByParam;
import cn.lg.soar.core.annotations.constraints.Id;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.io.Serializable;
import java.util.List;

/**
 * 会员文章管理
 * @author luguoxiang
 * @since 2025-02-23
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Api(tags = "会员文章管理")
@Validated
@RestController
@RequestMapping(CtrlPathConst.PUBLISHED + "/article")
public class PublishedArticleController {

    @ApiOperation("阅读")
    @RequestMapping(path = "detail", method = RequestMethod.GET)
    public HttpResult<Serializable> detail(@Id Long id) {
        // TODO
        return null;
    }

    @ApiOperation("搜索")
    @RequestMapping(path = "query", method = RequestMethod.GET)
    public HttpResult<Serializable> query(@Id Long id) {
        // TODO
        return null;
    }

}